﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Combat/Combat.master" AutoEventWireup="true"
    CodeFile="InputScore.aspx.cs" Inherits="Combat_InputScore" StylesheetTheme="Content" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <table width="765px" cellpadding="0" cellspacing="0">
        <caption>
            <asp:Label ID="lblTitle" runat="server" Text=""></asp:Label></caption>
        <tr>
            <td>
                <asp:DataList ID="dltSoldiers" RepeatColumns="10" runat="server" 
                    onitemdatabound="dltSoldiers_ItemDataBound">
                    <ItemTemplate>
                        <div style="width: 75px; height: 25px">
                            <asp:LinkButton ID="lnbtnSoldier" CommandArgument='<%# Eval("SoldierID") %>' runat="server"
                                Text='<%# Eval("SoldierName") %>' OnCommand="lnbtnSoldier_Command"></asp:LinkButton>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
    </table>
    <table cellpadding="0" cellspacing="0" width="765px">
        <caption>
            <asp:Label ID="lblTitle2" runat="server" Text=""></asp:Label></caption>
        <tr>
            <td>
                <table width="100%">
                    <tr>
                    <td style="width:10%">
                    警衔：
                    </td>
                        <td>
                            <asp:Label ID="lblRank" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                    <tr>
                    <td>岗位：</td>
                        <td>
                            <asp:Label ID="lblStation" runat="server" Text=""></asp:Label>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td>
                <asp:DataList ID="dltSkill" runat="server" RepeatColumns="3" OnItemDataBound="dltSkill_ItemDataBound">
                    <ItemTemplate>
                        <asp:Label ID="lblSkill" runat="server" Text='<%# Eval("SkillID") %>' Visible="false"></asp:Label>
                        <asp:Label ID="lblSkillType" runat="server" Text='<%# Eval("SkillItemID") %>' Visible="false"></asp:Label>
                        <div style="width: 246px; height: 80px; border: solid 1px #d1d1d1; padding: 2px;
                            margin: 0;">
                            <table width="100%" border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td style="border-bottom: solid 1px #d1d1d1; height: 50px;">
                                        <%# Eval("SkillName") %>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="center" valign="middle">
                                        <asp:TextBox ID="txtCount" Visible="false" runat="server"></asp:TextBox>
                                        <asp:DropDownList ID="ddlHour" Visible="false" runat="server">
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="ddlMinus" Visible="false" runat="server">
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="ddlSec" Visible="false" runat="server">
                                        </asp:DropDownList>
                                        <asp:DropDownList ID="ddlMinsec" Visible="false" runat="server">
                                        </asp:DropDownList>
                                        <asp:RadioButtonList ID="rbtn" Visible="false" runat="server" RepeatColumns="2">
                                            <asp:ListItem Text="合格"></asp:ListItem>
                                            <asp:ListItem Text="不合格"></asp:ListItem>
                                        </asp:RadioButtonList>
                                    </td>
                                </tr>
                            </table>
                        </div>
                    </ItemTemplate>
                </asp:DataList>
            </td>
        </tr>
    </table>
    <table width="100%">
        <tr>
            <td align="center">
                <asp:Label ID="lblPrompt" runat="server" ForeColor="OrangeRed" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td align="center">
                <asp:Button ID="btnSave" runat="server" Text="保存" OnClick="btnSave_Click" />
            </td>
        </tr>
    </table>
</asp:Content>
